/***************************************************
* Module name: Rectangular
*
* Copyright 2008 JuanSebastian S.A.
* All Rights Reserved.
*
* The information contained herein is confidential
* property of Company. The user, copying, transfer or
* disclosure of such information is prohibited except
* by express written agreement with Company.
*
* First written on 1-dic-08 by Juan Sebastian Cabrera (57+3006081048).
*
* Module Description:
* define a class of number complex in polar coordinates
*
***************************************************/

#ifndef _POL
#define _POL
#endif
#include <iostream>

class Polar
{
  
public:
  Polar(){cout << "A Polar object is created." << endl;}
  ~Polar(){cout << "A Polar Object is destroyed." << endl;}

  void setMagnitude(float magnitude){this->magnitude = magnitude;}
  float getMagnitude()const {return this->magnitude;}   //funtion const
  void setAngle(float angle){this-> angle = angle;}
  float getAngle()const {return this->angle;};          //funtion const

public:
  float magnitude;
  float angle;
};
